.all {
	background: rgb(0, 171, 217);
	padding-top: 20px;
}

.one {
	width: 240px;
	box-shadow: 10px 10px 0 0 rgba(0, 0, 0, 0.2);
	margin: 0 auto;
	background: white;
	position: relative;
}

.one div {
	background: black;
	color: white;
	position: absolute;
	bottom: 0px;
	height: 50px;
	overflow: hidden;
	transition: 1s;
}

.one:hover div{
	height: 110px;
}

.two {
	width: 268px;
	margin: 0 auto;
	background: white;
	margin-top: 20px;
	position: relative;
	overflow: hidden;
}

.two .t1 {
	display: inline-block;
	border: solid 1px #f25751;
	padding: 5px;
	margin: 5px;
	position: absolute;
	left: 0;
	top: -40px;
	transition: 1s;
	background: white;
	color: #f25751;
	border-radius: 5px;
}

.two:hover .t1{
	top: 0px;
}

.two .t2 {
	color: #fff;
	border: 1px solid #05920a;
	background: #05920a;
	border-radius: 5px;
	margin: 5px 100px;
	display: inline-block;
	padding: 5px;
	position: absolute;
	right: -95px;
	top: -40px;
	transition: 1s;
}

.two:hover .t2{
	transform: translateY(40px);
}

.two .t3 {
	margin: 5px;
	display: inline-block;
	color: steelblue;
	border: solid 1px whitesmoke;
	padding: 5px;
	background: whitesmoke;
	position: absolute;
	right: 110px;
	top: -40px;
	transition: 1s;
	border-radius: 5px;
	
}

.two:hover .t3{
	transform: translateY(40px);
}

.three {
	background: white;
	width: 380px;
	margin: 0 auto;
	margin-top: 20px;
	opacity: 0.5;
	position: relative;
	transition: 1s;
}

.three:hover{
	opacity: 1;
}

.three div{
	position: absolute;
	bottom: 10px;
	background: black;
	color: white;
	transition: 1s;
	z-index: 2;
	width: 100%;
	transform: rotateX(100deg);
	transform-origin: left bottom;
}

.three:hover div{
	transform: rotateX(0deg);
}
